package com.hzqy.persistence.dao.hotel;


import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.CmContentVo;
import com.hzqy.web.vo.HotelUserNeedsVo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public class HotelUserNeedsDao extends PersistenceDao<HotelUserNeedsVo, Integer>{
	protected final Logger LOG = LoggerFactory.getLogger(getClass());
	
	public int insertHotelUserNeedsVo(HotelUserNeedsVo vo) {
		return getSqlSession().insert(this.getNamespace()+"insertHotelUserNeedsVo",vo);
	}
	public List<CmContentVo> selectCmContentVoForServerid(Map<String,Object> map) {
		return getSqlSession().selectList(this.getNamespace()+"selectCmContentVoForServerid",map);
	}
    public List<HotelUserNeedsVo> selectHotelUserNeedsList(Map<String,Object> map){
        return getSqlSession().selectList(this.getNamespace() + "selectHotelUserNeedsList", map);
    }
}
